package cn.quang.search.toolkit.provider.entity;

import java.util.HashMap;
import java.util.Map;

public class ResultEntity {

    private Map<String, Object> entity = new HashMap<>();

    public Map<String, Object> getEntity() {
        return entity;
    }

    public void setEntity(Map<String, Object> entity) {
        this.entity = entity;
    }

    public Object get(String fieldDic) {
        return entity.get(fieldDic);
    }

    public void set(String fieldDic, Object value) {
        entity.put(fieldDic, value);
    }
}
